package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 企业骨干人员和企业关联表 companyperson
 * 
 * @author ruoyi
 * @date 2019-04-26
 */
public class Companyperson extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** ID */
	private Integer id;
	/** 企业ID */
	private Integer cid;
	/** 个人ID */
	private Integer pid;
	/** 类型 */
	private String type;
	/** 录入、修改日期 */
	private Date modifydate;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setCid(Integer cid) 
	{
		this.cid = cid;
	}

	public Integer getCid() 
	{
		return cid;
	}
	public void setPid(Integer pid) 
	{
		this.pid = pid;
	}

	public Integer getPid() 
	{
		return pid;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setModifydate(Date modifydate) 
	{
		this.modifydate = modifydate;
	}

	public Date getModifydate() 
	{
		return modifydate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cid", getCid())
            .append("pid", getPid())
            .append("type", getType())
            .append("modifydate", getModifydate())
            .toString();
    }
}
